import Vue from 'vue'
import Router from 'vue-router'
import Layout from '../view/layout/Index'
import Login from '../view/login/Login'
import systemUser from "../view/basic/systemUser"
import creator from '../view/basic/creator'
import video from '../view/draft/video'
import Employee from "../view/basic/Employee";
import undetermined from "../view/basic/undetermined";
import chart from '../view/charts/chart'
import misssu from "../view/charts/misssu";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/Login',
      name:'Login',
      component:Login
    },
    {
      path: '/Layout',
      name: 'Layout',
      component: Layout,
      children: [
        {
          path: 'systemUser',
          name: 'systemUser',
          component: systemUser
        },{
          path:'misssu',
          name:'misssu',
          component:misssu
        }, {
          path:'chart',
          name:'chart',
          component:chart
        },
        {
          path: 'employee',
          name: 'employee',
          component: Employee
        },{
          path: 'creator',
          name: 'creator',
          component: creator
        },{
          path:'undetermined',
          name:'undetermined',
          component:undetermined
        },
        {
          path:'video',
          name:'video',
          component:video
        }
        ,{
          path:'video',
          name:'video',
          component:video
        }
        ,{
          path:'video',
          name:'video',
          component:video
        }
      ]
    },
  ]
})
